package com.project.entity;/*
 *当前的项目名：project
 *当前编辑文件名：AdminInfo
 *当前用户的登录名：17673122251
 *当前系统日期：2022/5/5
 *当前系统时间：16:41
 */

import com.project.util.DBUtil;

import java.io.Serializable;
import java.util.Date;

public class AdminInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *管理员编号
     */
    @DBUtil.Id
    private Integer adminId;

    /**
     *管理员名称
     */
    private String adminName;

    /**
     *管理员密码
     */
    private String adminPassword;

    /**
     *创建时间
     */
    private java.util.Date adminCreateTime;

    /**
     *无参构造方法
     */
    public AdminInfo() {
    }

    /**
     *有参构造方法
     */
    public AdminInfo(Integer adminId, String adminName, String adminPassword, Date adminCreateTime) {
        this.adminId = adminId;
        this.adminName = adminName;
        this.adminPassword = adminPassword;
        this.adminCreateTime = adminCreateTime;
    }

    /**
     *主键的构造方法
     */
    public AdminInfo(Integer adminId) {
        this.adminId = adminId;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        this.adminPassword = adminPassword;
    }

    public Date getAdminCreateTime() {
        return adminCreateTime;
    }

    public void setAdminCreateTime(Date adminCreateTime) {
        this.adminCreateTime = adminCreateTime;
    }

    @Override
    public String toString() {
        return "AdminInfo{" +
                "adminId=" + adminId +
                ", adminName='" + adminName + '\'' +
                ", adminPassword='" + adminPassword + '\'' +
                ", adminCreateTime=" + adminCreateTime +
                '}';
    }
}
